package com.hqyj.hrms.modules.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class Power extends MyPage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "power_id", type = IdType.AUTO)
    private Integer powerId;
    //权限索引
    private String powerIndex;
    //权限名称
    private String powerName;
    //子菜单集合
    private List<Power> children;
    //权限路由地址
    private String powerUrl;
    //父节点
    private Integer parentId;
    //节点
    private Integer nodeId;


}
